import React, {useState} from 'react';
import { Input } from 'antd';

const [valueInput, setValueInput] = useState('');

const onChangeInput = (e: any) => {
  setValueInput(e.target.value as any)
};

const App: React.FC = () => (
  <>
    <Input placeholder="请输入" value={valueInput} onChange={onChangeInput} />
  </>
);

export default App;
